package cn.getech.data.development.entity.flink;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FlinkNodeFieldExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FlinkNodeFieldExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNodeIdIsNull() {
            addCriterion("node_id is null");
            return (Criteria) this;
        }

        public Criteria andNodeIdIsNotNull() {
            addCriterion("node_id is not null");
            return (Criteria) this;
        }

        public Criteria andNodeIdEqualTo(Integer value) {
            addCriterion("node_id =", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotEqualTo(Integer value) {
            addCriterion("node_id <>", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdGreaterThan(Integer value) {
            addCriterion("node_id >", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("node_id >=", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLessThan(Integer value) {
            addCriterion("node_id <", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdLessThanOrEqualTo(Integer value) {
            addCriterion("node_id <=", value, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdIn(List<Integer> values) {
            addCriterion("node_id in", values, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotIn(List<Integer> values) {
            addCriterion("node_id not in", values, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdBetween(Integer value1, Integer value2) {
            addCriterion("node_id between", value1, value2, "nodeId");
            return (Criteria) this;
        }

        public Criteria andNodeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("node_id not between", value1, value2, "nodeId");
            return (Criteria) this;
        }

        public Criteria andFieldNameIsNull() {
            addCriterion("field_name is null");
            return (Criteria) this;
        }

        public Criteria andFieldNameIsNotNull() {
            addCriterion("field_name is not null");
            return (Criteria) this;
        }

        public Criteria andFieldNameEqualTo(String value) {
            addCriterion("field_name =", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotEqualTo(String value) {
            addCriterion("field_name <>", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameGreaterThan(String value) {
            addCriterion("field_name >", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("field_name >=", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLessThan(String value) {
            addCriterion("field_name <", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLessThanOrEqualTo(String value) {
            addCriterion("field_name <=", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLike(String value) {
            addCriterion("field_name like", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotLike(String value) {
            addCriterion("field_name not like", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameIn(List<String> values) {
            addCriterion("field_name in", values, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotIn(List<String> values) {
            addCriterion("field_name not in", values, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameBetween(String value1, String value2) {
            addCriterion("field_name between", value1, value2, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotBetween(String value1, String value2) {
            addCriterion("field_name not between", value1, value2, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIsNull() {
            addCriterion("field_type is null");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIsNotNull() {
            addCriterion("field_type is not null");
            return (Criteria) this;
        }

        public Criteria andFieldTypeEqualTo(String value) {
            addCriterion("field_type =", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotEqualTo(String value) {
            addCriterion("field_type <>", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeGreaterThan(String value) {
            addCriterion("field_type >", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeGreaterThanOrEqualTo(String value) {
            addCriterion("field_type >=", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLessThan(String value) {
            addCriterion("field_type <", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLessThanOrEqualTo(String value) {
            addCriterion("field_type <=", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLike(String value) {
            addCriterion("field_type like", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotLike(String value) {
            addCriterion("field_type not like", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIn(List<String> values) {
            addCriterion("field_type in", values, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotIn(List<String> values) {
            addCriterion("field_type not in", values, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeBetween(String value1, String value2) {
            addCriterion("field_type between", value1, value2, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotBetween(String value1, String value2) {
            addCriterion("field_type not between", value1, value2, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldDeacIsNull() {
            addCriterion("field_deac is null");
            return (Criteria) this;
        }

        public Criteria andFieldDeacIsNotNull() {
            addCriterion("field_deac is not null");
            return (Criteria) this;
        }

        public Criteria andFieldDeacEqualTo(String value) {
            addCriterion("field_deac =", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacNotEqualTo(String value) {
            addCriterion("field_deac <>", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacGreaterThan(String value) {
            addCriterion("field_deac >", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacGreaterThanOrEqualTo(String value) {
            addCriterion("field_deac >=", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacLessThan(String value) {
            addCriterion("field_deac <", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacLessThanOrEqualTo(String value) {
            addCriterion("field_deac <=", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacLike(String value) {
            addCriterion("field_deac like", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacNotLike(String value) {
            addCriterion("field_deac not like", value, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacIn(List<String> values) {
            addCriterion("field_deac in", values, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacNotIn(List<String> values) {
            addCriterion("field_deac not in", values, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacBetween(String value1, String value2) {
            addCriterion("field_deac between", value1, value2, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldDeacNotBetween(String value1, String value2) {
            addCriterion("field_deac not between", value1, value2, "fieldDeac");
            return (Criteria) this;
        }

        public Criteria andFieldOrderIsNull() {
            addCriterion("field_order is null");
            return (Criteria) this;
        }

        public Criteria andFieldOrderIsNotNull() {
            addCriterion("field_order is not null");
            return (Criteria) this;
        }

        public Criteria andFieldOrderEqualTo(Integer value) {
            addCriterion("field_order =", value, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderNotEqualTo(Integer value) {
            addCriterion("field_order <>", value, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderGreaterThan(Integer value) {
            addCriterion("field_order >", value, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("field_order >=", value, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderLessThan(Integer value) {
            addCriterion("field_order <", value, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderLessThanOrEqualTo(Integer value) {
            addCriterion("field_order <=", value, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderIn(List<Integer> values) {
            addCriterion("field_order in", values, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderNotIn(List<Integer> values) {
            addCriterion("field_order not in", values, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderBetween(Integer value1, Integer value2) {
            addCriterion("field_order between", value1, value2, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("field_order not between", value1, value2, "fieldOrder");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionIsNull() {
            addCriterion("field_expression is null");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionIsNotNull() {
            addCriterion("field_expression is not null");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionEqualTo(String value) {
            addCriterion("field_expression =", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionNotEqualTo(String value) {
            addCriterion("field_expression <>", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionGreaterThan(String value) {
            addCriterion("field_expression >", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionGreaterThanOrEqualTo(String value) {
            addCriterion("field_expression >=", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionLessThan(String value) {
            addCriterion("field_expression <", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionLessThanOrEqualTo(String value) {
            addCriterion("field_expression <=", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionLike(String value) {
            addCriterion("field_expression like", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionNotLike(String value) {
            addCriterion("field_expression not like", value, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionIn(List<String> values) {
            addCriterion("field_expression in", values, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionNotIn(List<String> values) {
            addCriterion("field_expression not in", values, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionBetween(String value1, String value2) {
            addCriterion("field_expression between", value1, value2, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andFieldExpressionNotBetween(String value1, String value2) {
            addCriterion("field_expression not between", value1, value2, "fieldExpression");
            return (Criteria) this;
        }

        public Criteria andCreatePerIsNull() {
            addCriterion("create_per is null");
            return (Criteria) this;
        }

        public Criteria andCreatePerIsNotNull() {
            addCriterion("create_per is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePerEqualTo(Long value) {
            addCriterion("create_per =", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerNotEqualTo(Long value) {
            addCriterion("create_per <>", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerGreaterThan(Long value) {
            addCriterion("create_per >", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerGreaterThanOrEqualTo(Long value) {
            addCriterion("create_per >=", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerLessThan(Long value) {
            addCriterion("create_per <", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerLessThanOrEqualTo(Long value) {
            addCriterion("create_per <=", value, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerIn(List<Long> values) {
            addCriterion("create_per in", values, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerNotIn(List<Long> values) {
            addCriterion("create_per not in", values, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerBetween(Long value1, Long value2) {
            addCriterion("create_per between", value1, value2, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreatePerNotBetween(Long value1, Long value2) {
            addCriterion("create_per not between", value1, value2, "createPer");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdatePerIsNull() {
            addCriterion("update_per is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePerIsNotNull() {
            addCriterion("update_per is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePerEqualTo(Long value) {
            addCriterion("update_per =", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerNotEqualTo(Long value) {
            addCriterion("update_per <>", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerGreaterThan(Long value) {
            addCriterion("update_per >", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerGreaterThanOrEqualTo(Long value) {
            addCriterion("update_per >=", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerLessThan(Long value) {
            addCriterion("update_per <", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerLessThanOrEqualTo(Long value) {
            addCriterion("update_per <=", value, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerIn(List<Long> values) {
            addCriterion("update_per in", values, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerNotIn(List<Long> values) {
            addCriterion("update_per not in", values, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerBetween(Long value1, Long value2) {
            addCriterion("update_per between", value1, value2, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdatePerNotBetween(Long value1, Long value2) {
            addCriterion("update_per not between", value1, value2, "updatePer");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}